﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Application.Dto
{
    /// <summary>
    /// 定时任务执行记录
    /// </summary>
    public class CrontabExecuteRecordDto
    {
        /// <summary>
        /// 数据Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 执行结果
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 执行状态
        /// </summary>
        public EnumOptionDto ExecuteStatus { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTimeOffset CreatedTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTimeOffset? UpdatedTime { get; set; }
    }
}
